<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>停车场用户--${headerTitle }</title>
	
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1";/><!-- IE的渲染模式 -->
    <meta name="keywords" content="信帧,teleframe,iparking,I停车,爱停车,blackshadowwalker" />
	<meta name="description" content="信帧,teleframe,iparking,I停车,爱停车,blackshadowwalker" />
	<meta name="author" content="blackshadowwalker" />
    
	<link href="bootstrap/3/css/bootstrap.css" rel="stylesheet"/>

	<script src="scripts/jquery/jquery-1.7.min.js"></script>
	<script src="bootstrap/3/js/bootstrap.min.js"></script>
	<link href="bootstrap/3/css/datepicker.css" rel="stylesheet"/>
	<script src="bootstrap/3/js/bootstrap-datepicker.js"></script>
	
	<script src="scripts/validateForm.js?t=123"></script>
	<link href="css/common.css" rel="stylesheet"/>
	
	<style>
		body{
			margin-left: 10px;
			margin-top: 7px;
		}
	</style>

</head>

<body>
<div>
		<form id="myform" name="myform" class="form-horizontal"
			action="${action}?id=${id}&method=${method}" method="post">
			<div class="form-group">
				<label class="col-sm-2 control-label"> 停车场管理员头像:</label>
				<div class="col-sm-5">
				<img src="${park.photo}" alt="停车场管理员头像" style="width:120px;height:130px;cursor:pointer;"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span> 用户帐号：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control"
						value="${park.userName }" readonly/>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>真实姓名：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control"
						value="${park.realName}" readonly/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>用户角色：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control" value="${park.roleName}"readonly />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>身份证号：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control" value="${park.idCard }"readonly />
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>手机号：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control"
						value="${park.phone}"readonly />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>个人简介：</label>
				<div class="col-sm-5">
					<textarea class="form-control" readonly >${park.introduction}</textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>上级领导：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control" value="${park.superiorOfficer}"readonly />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>用户状态：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control" value="${park.statusName}" readonly/>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>银行帐号：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control" value="${park.bankAccount }" readonly/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>账户余额：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control" value="${park.accountBalance }" readonly/>
				</div>
			</div>
		<div align="center">
		<a class="btn btn-info" style="background-color:#00AA00" href="${action}?method=updatePersionInfo&id=${park.userId}" title="修改个人信息"> <span
								class="glyphicon glyphicon-edit"></span> </a>
		<a class="btn btn-info" style="background-color:#5555FF" href="${action}?method=modifyPassword&id=${park.userId}" title="修改密码"> <span
								class="glyphicon glyphicon-edit"></span> </a>
		</div>
		</form>
	</div>
	</body>
</html>